﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>菜品管理界面</title>
    <link href="CSS/MenuManagement.css" rel="stylesheet" type="text/css"/>
    <script src="JS/MenuMangement.js" type="text/javascript"></script>
</head>
<body onload="getTime()" id="body">
    <div class="header">
        <div class="logo">
            <img src="img/明阳天下logo.png" style="width:200px;"/>
        </div>
        <div class="time">
            <p id="date"></p>
        </div>
        <div class="welcome"><label id="welcome">欢迎管理者:guopeng使用明阳天下火锅点餐管理系统</label></div>
        <div class="backspace" align="right" style="margin-right:10px;">
            <input id="Button1" type="button" value="注销" class="btnBackspace" onclick="backspace()"/>
        </div>
    </div>
    <div class="content" id="content">
        <div class="MenuList">
            <input id="Button14" type="button" value="肉类菜品添加"  class="aAdd1" style="outline-width:20px;"/>
            <input id="Button15" type="button" value="素类菜品添加" class="aAdd"/>
            <input id="Button16" type="button" value="饮甜品添加" class="aAdd"/>
        </div>
        <div class="MenuAdd">
            <form name="tbAdd">
            <table style="width: 100%;" class="tbAdd">
                <tr>
                    <td>菜品名称:</td>
                    <td>
                        <input id="txtmname" type="text" /></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td>图片:</td>
                    <td>
                       <input id="fileimg" type="file"/>
                    </td>
                </tr>
                <tr>
                    <td>价格:</td>
                    <td>￥<input id="txtprice" type="text" />/份</td>
                </tr>
                <tr>
                    <td>折扣:</td>
                    <td>
                        <input id="txtdiscount" type="text" />折
                    </td>
                </tr>
                <tr>
                    <td>详情:</td>
                    <td>
                        <textarea id="txtdetail" cols="20" rows="2" style="height:100px;width:150px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input id="btnAdd" type="button" value="新增" class="btnAdd" onclick="Add()"/>
                    </td>
                    <td>
                        <input id="btnReset" type="reset" value="重置" class="btnReset"/>
                    </td>
                </tr>
            </table>
            </form>
        </div>
        
        <div class="MenuSelect" id="MenuSelect">
            <div class="SelectList">
            <input id="Button17" type="button" value="肉类菜品添加"  class="aSelect1" style="outline-width:20px;"/>
            <input id="Button18" type="button" value="素类菜品添加" class="aSelect"/>
            <input id="Button19" type="button" value="饮甜品添加" class="aSelect"/>
            </div>
            <div class="select" id="select">
            <font class="font">菜品名称:</font><input id="m" type="text" class="txtName" /><input id="Button3" type="button" value="查询" class="btnSelect" onclick="Select()"/>
            </div>
            <table  class="tbSelect">
                <tr style="background-color:#e36a6a;">
                    <td>肉类菜品编号</td>
                    <td>肉类菜品名称</td>
                    <td>肉类菜品图片</td>
                    <td>肉类菜品价格</td>
                    <td>折扣</td>
                    <td>操作</td>
                </tr>
                <tr>
                    <td>M1</td>
                    <td>秘制牛肉片</td>
                    <td><img src="img/牛肉.jpg" style="width:150px; height:80px;"></td>
                    <td>￥30/份</td>
                    <td>0.95折</td>
                    <td>
                        <input id="Button4" type="button" value="更新" class="btnUpdate"/>&nbsp;&nbsp;<input id="Button5" type="button" value="删除" class="btnDelete" onclick="Delete()"/>
                    </td>
                </tr>
                <tr>
                     <td>M2</td>
                    <td>腌制羊肉片</td>
                    <td><img src="img/腌制羊肉片.jpg" style="width:150px; height:80px;"></td>
                    <td>￥26/份</td>
                    <td>0.98折</td>
                    <td>
                        <input id="Button6" type="button" value="更新" class="btnUpdate"/>&nbsp;&nbsp;<input id="Button7" type="button" value="删除" class="btnDelete" onclick="Delete()"/>
                    </td>
                </tr>
                <tr>
                     <td>M3</td>
                    <td>精品五花肉片</td>
                    <td><img src="img/五花肉.jpg" style="width:150px; height:80px;"></td>
                    <td>￥28/份</td>
                    <td>0.9折</td>
                    <td>
                        <input id="Button8" type="button" value="更新" class="btnUpdate"/>&nbsp;&nbsp;<input id="Button9" type="button" value="删除" class="btnDelete" onclick="Delete()"/>
                    </td>
                </tr>
                <tr>
                     <td>M4</td>
                    <td>鸡胸肉片</td>
                    <td><img src="img/鸡胸肉片.jpg" style="width:150px; height:80px;"></td>
                    <td>￥15/份</td>
                    <td>0折</td>
                    <td>
                        <input id="Button10" type="button" value="更新" class="btnUpdate"/>&nbsp;&nbsp;<input id="Button11" type="button" value="删除" class="btnDelete" onclick="Delete()"/>
                    </td>
                </tr>
                <tr>
                     <td>M5</td>
                    <td>鱼肉片</td>
                    <td><img src="img/鱼肉片.jpg" style="width:150px; height:80px;"></td>
                    <td>￥29/份</td>
                    <td>0.95折</td>
                    <td>
                        <input id="Button12" type="button" value="更新" class="btnUpdate"/>&nbsp;&nbsp;<input id="Button13" type="button" value="删除" class="btnDelete" onclick="Delete()"/>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="footer">
        版权所有©大连外国语大学▪软件学院 地址：大连市旅顺南路西段6号10号楼 邮编：116044
        <br />
        明阳天下团队
    </div>
</body>
</html>
